package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.ServiceItem;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

public interface IServiceItemService {

    ServiceItem queryById(Long id);

    TablePageInfo<ServiceItem> query(QueryObject qo);

    void save(ServiceItem serviceItem);

    void update(ServiceItem serviceItem);

    void deleteById(Long id);

    boolean checkNameExsit(String name, Long id);

    void sale(Long id, Integer saleStatus);

    void changeAuditStatus(Long id, Integer auditingStatus);

    void startAudit(Long id, Long bpmnInfoId, Long director, Long finance, String info);

}